using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class AddRecurrenceRequest : OrganizationRequest
	{
		public Entity Target
		{
			get
			{
				if (base.Parameters.Contains("Target"))
				{
					return (Entity)base.Parameters["Target"];
				}
				return null;
			}
			set
			{
				base.Parameters["Target"] = value;
			}
		}
		public Guid AppointmentId
		{
			get
			{
				if (base.Parameters.Contains("AppointmentId"))
				{
					return (Guid)base.Parameters["AppointmentId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["AppointmentId"] = value;
			}
		}
		public AddRecurrenceRequest()
		{
			base.RequestName = "AddRecurrence";
			this.Target = null;
			this.AppointmentId = default(Guid);
		}
	}
}
